package org.six11.olive3.net;

import java.io.PrintWriter;

import org.six11.util2.Debug;

/**
 * 
 * 
 * @author Gabe Johnson <johnsogg@cmu.edu>
 * 
 */
public abstract class MessageHandler {
  public void handleLater(Message m) {
  };

  public void handleNow(Message m, PrintWriter out) {
  }

  protected void bug(String what) {
    String n = getClass().getName();
    Debug.out(n.substring(n.lastIndexOf('.') + 1), what);
  }

}
